//
//  ExamSignUpTableViewCellSix.h
//  CommunityNannyO2O
//
//  Created by apple on 15/8/13.
//  Copyright (c) 2015年 Apple. All rights reserved.
//

#import "ExamSignUpTableViewCellSix.h"
#import "APIAdress.h"
#import "MBProgressHUD+YC.h"
#import "MJExtension.h"
#import "AccountTool.h"
#import "UIViewController+Create.h"
#import "CustomTextField.h"
#import "AppConfig.h"
#import "QXNetWorkTool.h"

@interface ExamSignUpTableViewCellSix()<QXNetWorkToolDelegate>

@property (weak, nonatomic) IBOutlet UIButton *confirm;

@end

@implementation ExamSignUpTableViewCellSix

+ (instancetype)cellWithTableView:(UITableView *)tableView
{
    static NSString *ID = @"ExamSignUpTableViewCellSix";
    ExamSignUpTableViewCellSix *cell = [tableView dequeueReusableCellWithIdentifier:ID];
    if (cell == nil) {
        
        cell = [[[NSBundle mainBundle] loadNibNamed:ID owner:nil options:nil]firstObject];
        
        [cell setSelectionStyle:UITableViewCellSelectionStyleNone];
    }
    
    return cell;
}

-(void)awakeFromNib
{
    self.confirm.layer.cornerRadius = 5;
    self.confirm.layer.masksToBounds = YES;
    [self.confirm.layer setBorderWidth:1.0]; //边框宽度
    [self.confirm.layer setBorderColor:UIColorRGBA(19, 208, 202, 1).CGColor];//边框颜色
    [self.confirm addTarget:self action:@selector(confirmSender:) forControlEvents:UIControlEventTouchUpInside];

}

- (void)confirmSender:(id)sender
{
    if ([self.delegate respondsToSelector:@selector(signUp)]) {
        
        [self.delegate signUp];
    }
}


@end




















